<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>CVS: History Viewer</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="org.netbeans.modules.versioning.system.cvss.ui.history.SearchHistoryTopComponent" name="org.netbeans.modules.versioning.system.cvss.ui.history.SearchHistoryTopComponent"></a></p>
<div id="NBCSH1699"><!-- infolevel="all" infotype="General" --><a id="sthref210" name="sthref210"></a>
<h1>CVS: History Viewer</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>The IDE's History Viewer enables you to view a summary of a file's evolution over time based on revision number. The History Viewer also allows you to revert (i.e. rollback) changes to a previous revision. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2332">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>This window enables you to see the history of committed changes for the selected file or folder. You can use the following criteria to search for files or folders:</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t20">Element</th>
<th align="left" valign="bottom" id="r1c2-t20">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t20" headers="r1c1-t20">
<p>Message</p>
</td>
<td align="left" headers="r2c1-t20 r1c2-t20">Enter the name of a message to search for the revisions of files or folders committed with that message.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t20" headers="r1c1-t20">
<p>Username</p>
</td>
<td align="left" headers="r3c1-t20 r1c2-t20">Enter a username to search for the revisions of files or folders committed by that user.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t20" headers="r1c1-t20">
<p>From</p>
</td>
<td align="left" headers="r4c1-t20 r1c2-t20">Enter a tag, branch, revision or date of a message to search for the revisions of files or folders committed after that tag, branch, revision or date. Click the Browse button to search for a branch or tag.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t20" headers="r1c1-t20">
<p>To</p>
</td>
<td align="left" headers="r5c1-t20 r1c2-t20">Enter a tag, branch, revision or date of a message to search for the revisions of files or folders committed before that tag, branch, revision or date. Click the Browse button to search for a branch or tag.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>When you click the Search button, files and folders meeting the specified criteria are displayed in the lower pane of the History Viewer. You can view search results in two unique views: Summary view and Diff view:</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t21">Element</th>
<th align="left" valign="bottom" id="r1c2-t21">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t21" headers="r1c1-t21">
<p>Summary</p>
</td>
<td align="left" headers="r2c1-t21 r1c2-t21">Displays a list containing the details of the results matching the specified search criteria. Each row corresponds to a revision obtained from the repository. If your search criteria specified a folder, all files contained therein are displayed beneath the revision heading.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t21" headers="r1c1-t21">
<p>Diff</p>
</td>
<td align="left" headers="r3c1-t21 r1c2-t21">Displays the IDE's graphical Diff Viewer enabling you to compare two revisions side by side. A tree view of the commit results displays above the diff viewer allowing you to arbitrarily select revisions to compare. Expand the tree and click on a revision to compare the changes between the selected revision and the previous revision.
<p>When working in the Diff view, you can format the table display of the upper tree view. To do so, choose <b>List Options &gt; Change Visible Columns</b> from the right-click menu of any selected row. A dialog appears allowing you to specify which columns to display. Listed columns include:</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t21" headers="r1c1-t21">
<p>File Revision</p>
</td>
<td align="left" headers="r4c1-t21 r1c2-t21">Revision and Name of the File (mandatory)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t21" headers="r1c1-t21">
<p>Message</p>
</td>
<td align="left" headers="r5c1-t21 r1c2-t21">Commit Message (optional)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t21" headers="r1c1-t21">
<p>Time</p>
</td>
<td align="left" headers="r6c1-t21 r1c2-t21">Time of Message (optional)</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t21" headers="r1c1-t21">
<p>User</p>
</td>
<td align="left" headers="r7c1-t21 r1c2-t21">Author of the Change (optional)</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>You can also change the order in which columns are displayed in the table. To do so, click on a column heading in the table and drag it to the desired location.</p>
<p>The History Viewer allows you to revert changes made in a selected revision based on the view you are working in.</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t22">Element</th>
<th align="left" valign="bottom" id="r1c2-t22">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t22" headers="r1c1-t22">
<p>Summary view</p>
</td>
<td align="left" headers="r2c1-t22 r1c2-t22">Select revision row and either:
<ul>
<li>right-click the row and choose Rollback Changes</li>
<li>click Revert in the lower right corner of that row</li>
</ul>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t22" headers="r1c1-t22">
<p>Diff view</p>
</td>
<td align="left" headers="r3c1-t22 r1c2-t22">Select a file revision from the tree view and choose Rollback Changes from the right-click menu.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH1712" name="NBCSH1712"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG236">
<param name="text" value="<html><u>&quot;Versioning Applications with CVS&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
